<%@page import="java.util.Date"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>船舶管理系统</title>
<link rel="stylesheet" href="../css/index.css" type="text/css">
</head>
<style>
.fourronecenterone{
    float:left;
    width:510px;
    height:250px;
    margin-top:50px;
    margin-left:200px;
}
.fourronecenterone .fourronecentertwo{
    float:left;
    width:160px;
    height:300px;
}
.fourronecenterone .fourronecentertwo ul{
    float:left;
}
.fourronecenterone .fourronecentertwo li{
    font-size:16px;
    margin:7px 0 3px 0;
    width:140px;
    height:22px;
}
form{
    /* float:right; */
    width:400px;
    height:300px;
}
form input{
    float:right;
    margin:7px 30px 3px 0; 
    padding:0;
    width:200px;
    height:18px;
}
form select{
    float:right;
    margin:7px 114px 3px 0; 
    padding:0;
    width:120px;
    height:22px;
}
form label{
    float:right;
    margin:7px 40px 3px 3px; 
    width:50px;
    height:22px;
}
.radioone{
    margin:7px 0 3px 0; 
    width:22px;
    height:22px;
}   
form a{
    float:right;
    margin:3px 60px 0 0;
}
</style>
<body>
<!-- 头部导航栏headnavigation -->
<div id="headnavigation" class="layer clearfix">
     <ul class="twolnoe fl clearfix">
     <li><a href="../index.jsp">首页网址</a></li>
     <li><span></span></li>
     <li><a href="#">联系我们</a></li>
     <li><a href="#">我要留言</a></li>
</ul>
     <ul class="tworone fr clearfix">
     <li>欢迎您：<%
           String name = (String)session.getAttribute("sname") ;
           if(name!=null){
        	   out.print(name);
     %>
           <a href="../loginbyuser.jsp">注销</a>
     <%
           }else{
        	   response.sendRedirect("../loginbyuser.jsp");
           }
     %></li>
     <li><span></span></li>
     <li><a href="../loginbystaff.jsp">我是管理员！</a></li>
     <li><span></span></li>
     <li><a href="#">我要购买</a></li>
     <li><span></span></li>
     <li><a href="../queryshipinformationbyuser">船只造价</a></li>
     <li><span></span></li>
     <li><a href="../queryshipinformationbyuser">船只信息</a></li>
</ul>
</div>
<!-- 头部jpg导航headjpg -->
<div id="headjpg" class="layer clearfix">
<div class="headone">
<img src="../img/1.png">
</div>
<div class="headtwo">
<img src="../img/2.png">
</div>
</div>
<!-- 内容导航栏contentnavigationbar -->
<div id="contentnavigationbar" class="layer clearfix">
<h2 class="fl">
<a href="#">目录</a>
</h2>
<ul class="fr">
<li><a href="#">首页</a></li>
<li><a href="#">分类</a></li>
<li><a href="#">特色百科</a></li>
<li><a href="#">权威合作</a></li>
<li><a href="#">个人中心</a></li>
</ul>
</div>
<!-- 主要内容maincontent -->
<div id="maincontent" class="layer clearfix">
<div class="fourlone fl clearfix">
<h4 class="fl mt">我的信息中心</h4><br>
<ul class="clearfix">
<li><a href="../querymyuserServlet">查看我的所有信息</a></li>
</ul>
<h4 class="fl mt">我的订单中心</h4><br>
<ul class="clearfix">
<li><a href="../querymyorderifm">查看我的订单信息</a></li>
</ul>
<h4 class="fl mt">商品船只服务中心</h4><br>
<ul class="clearfix">
<li><a href="../queryshipinformationbyuser">船只列表</a></li>
<li style="background-color:#ffbbbb;"><a href="index2_1_5.jsp">我要购买</a></li>
</ul>
</div>
<div class="fourrone fr clearfix">
<div class="fourronecenter clearfix">
<div class="fourronecenterone clearfix">
<div class="fourronecentertwo">
<ul>
<li>订单编码：</li>
<li>购买者：</li>
<li>请选择支付方式：</li>
<li>所购船名：</li>
<li>所购船型：</li>
<li>当前购买时间：</li>
<li>请选择收货时间：</li>
</ul>
</div>
            <%!Date time = new Date();%>
            <%
                SimpleDateFormat newtime = new SimpleDateFormat("yyyy年MM月dd日 E");
            %>
            <%
                SimpleDateFormat gettime = new SimpleDateFormat("yyyy年MM月dd日");
            %>
            <%
                SimpleDateFormat order = new SimpleDateFormat("yyyyMMmmss");
            %>
 <form action="../addmyorderifm" method ="post" class="clearfix">
<input type="text" name="snumber" value="<%=order.format(time)%>" readonly="readonly"><br>
<input type="text" name="sname" value="<%=session.getAttribute("sname")%>" readonly="readonly"><br>
<label for="radio1">直全款</label><input type="radio" name="smode" value="直全款" class="radioone" id="radio1">
<label for="radio2">预到付</label><input type="radio" name="smode" value="预到付" class="radioone" id="radio2">
<select name="sshipname">
<option value=""></option>
<option value="猎户级驱逐舰">猎户级驱逐舰</option>
<option value="不屈级巡洋舰">不屈级巡洋舰</option>
<option value="无畏级战列舰">无畏级战列舰</option>
<option value="王权级航空母舰">王权级航空母舰</option>
<option value="伊丽莎白女王号">伊丽莎白女王号</option>
<option value="罗斯福航空母舰">罗斯福航空母舰</option>
<option value="辽宁号航空母舰">辽宁号航空母舰</option>
</select>
<select name="sshipform">
<option value=""></option>
<option value="战略级">战略级</option>
<option value="仅作为载具">仅作为载具</option>
<option value="小型水面舰艇">小型水面舰艇</option>
<option value="中型水面舰艇">中型水面舰艇</option>
<option value="大型水面舰艇">大型水面舰艇</option>
<option value="超大型水面舰艇">超大型水面舰艇</option>
<option value="小型航空母舰">小型航空母舰</option>
<option value="中型航空母舰">中型航空母舰</option>
<option value="大型航空母舰">大型航空母舰</option>
<option value="超大型航空母舰">超大型航空母舰</option>
<option value="尼米兹级航空母舰4号舰">尼米兹级航空母舰4号舰</option>
<option value="库兹涅佐夫级">库兹涅佐夫级</option>
<option value="其他">.....</option>
</select>
<input type="text" name="stime" value="<%=newtime.format(time)%>" readonly="readonly"><br>
<input type="text" name="sgettime" value="<%=gettime.format(time)%>"><br>
<input type="submit" value="立即下单" style="width:62.67px;height:23px;margin:3px 50px 0 0;">
</form>
</div>
</div>
</div>
</div>
<!-- 展示链接displaylinks -->
<div id="displaylinks" class="layer clearfix">
<div class="fivel fl">
<a href="#"><img src="../img/Liaoning.jpg" style="width:390px;height:180px;"></a>
</div>
<div class="fiver fr">
<a href="#"><img src="../img/HMSQueenElizabeth.jpg" style="width:390px;height:180px;"></a>
</div>
<div class="fivecenter fl">
<a href="#"><img src="../img/TheodoreRoosevelt.jpg" style="width:390px;height:180px;"></a>
</div>
</div>
<!-- 底部信息与联系栏 bottompage -->
<div id="bottompage" class="layer">
<table>
<tr>
<td>
<p>&nbsp;</p>
<p style="font-size:21px;">17软件3班毕业设计1组</p><br>
<p>刘伟:201702050340</p>
<p>毛杰:201702050323</p>
<p>曾俊峰:201702040102</p>
<p>联系我们！：QQ2591654285 and 18120372720。</p>
</td>
</tr>
</table>
</div>
</body>
</html>